<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>JsDoc Reference - Cal3D.CalCoreBone</title>

		<style type="text/css">
			/* default.css */


body
{
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	width: 800px;
}

.header
{
	clear: both;
	background-color: #ccc;
	padding: 8px;
}

h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: inline;
//	padding: 8px;
//	border: 1px dashed #ccc;
	background-color: #4AA02C;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 160px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 190px;
	width: 600px;
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-size:170%;
	line-height:130%;
}

h2 { font-size: 110%; }
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	border-left: 1px #7F8FB1 solid;
	width: 140px;
	text-align: right;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: #002EBE;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}

.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

.detailList {
	margin-left: 20px; 
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align: right;
	font-size: 10px;
}
		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		<div id="header">
</div>
		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->
		<div id="index">
			<!-- begin publish.classesIndex -->
			<div align="center"><a href="../index.html">Class Index</a>
| <a href="../files.html">File Index</a></div>
<hr />
<h2>Classes</h2>
<ul class="classList">
	
	<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
	
	<li><a href="../symbols/Cal3D.html">Cal3D</a></li>
	
	<li><a href="../symbols/Cal3D.CalAbstractMixer.html">Cal3D.CalAbstractMixer</a></li>
	
	<li><a href="../symbols/Cal3D.CalAnimation.html">Cal3D.CalAnimation</a></li>
	
	<li><a href="../symbols/Cal3D.CalAnimationAction.html">Cal3D.CalAnimationAction</a></li>
	
	<li><a href="../symbols/Cal3D.CalAnimationCallback.html">Cal3D.CalAnimationCallback</a></li>
	
	<li><a href="../symbols/Cal3D.CalAnimationCycle.html">Cal3D.CalAnimationCycle</a></li>
	
	<li><a href="../symbols/Cal3D.CalBone.html">Cal3D.CalBone</a></li>
	
	<li><a href="../symbols/Cal3D.CalBoundingBox.html">Cal3D.CalBoundingBox</a></li>
	
	<li><a href="../symbols/Cal3D.CalBufferSource.html">Cal3D.CalBufferSource</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreAnimation.html">Cal3D.CalCoreAnimation</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreBone.html">Cal3D.CalCoreBone</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreKeyframe.html">Cal3D.CalCoreKeyframe</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreMaterial.html">Cal3D.CalCoreMaterial</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreMaterial.Color.html">Cal3D.CalCoreMaterial.Color</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreMaterial.Map.html">Cal3D.CalCoreMaterial.Map</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreMesh.html">Cal3D.CalCoreMesh</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreModel.html">Cal3D.CalCoreModel</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreMorphAnimation.html">Cal3D.CalCoreMorphAnimation</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSkeleton.html">Cal3D.CalCoreSkeleton</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.html">Cal3D.CalCoreSubmesh</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.Face.html">Cal3D.CalCoreSubmesh.Face</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.Influence.html">Cal3D.CalCoreSubmesh.Influence</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.PhysicalProperty.html">Cal3D.CalCoreSubmesh.PhysicalProperty</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.Spring.html">Cal3D.CalCoreSubmesh.Spring</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.TangentSpace.html">Cal3D.CalCoreSubmesh.TangentSpace</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.TextureCoordinate.html">Cal3D.CalCoreSubmesh.TextureCoordinate</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.Vertex.html">Cal3D.CalCoreSubmesh.Vertex</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubMorphTarget.html">Cal3D.CalCoreSubMorphTarget</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubMorphTarget.BlendVertex.html">Cal3D.CalCoreSubMorphTarget.BlendVertex</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreTrack.html">Cal3D.CalCoreTrack</a></li>
	
	<li><a href="../symbols/Cal3D.CalError.html">Cal3D.CalError</a></li>
	
	<li><a href="../symbols/Cal3D.CalLibraryConstants.html">Cal3D.CalLibraryConstants</a></li>
	
	<li><a href="../symbols/Cal3D.CalLoader.html">Cal3D.CalLoader</a></li>
	
	<li><a href="../symbols/Cal3D.CalLoadingCallback.html">Cal3D.CalLoadingCallback</a></li>
	
	<li><a href="../symbols/Cal3D.CalMatrix.html">Cal3D.CalMatrix</a></li>
	
	<li><a href="../symbols/Cal3D.CalMesh.html">Cal3D.CalMesh</a></li>
	
	<li><a href="../symbols/Cal3D.CalMixer.html">Cal3D.CalMixer</a></li>
	
	<li><a href="../symbols/Cal3D.CalModel.html">Cal3D.CalModel</a></li>
	
	<li><a href="../symbols/Cal3D.CalMorphTargetMixer.html">Cal3D.CalMorphTargetMixer</a></li>
	
	<li><a href="../symbols/Cal3D.CalPhysique.html">Cal3D.CalPhysique</a></li>
	
	<li><a href="../symbols/Cal3D.CalQuaternion.html">Cal3D.CalQuaternion</a></li>
	
	<li><a href="../symbols/Cal3D.CalRenderer.html">Cal3D.CalRenderer</a></li>
	
	<li><a href="../symbols/Cal3D.CalSkeleton.html">Cal3D.CalSkeleton</a></li>
	
	<li><a href="../symbols/Cal3D.CalSubmesh.html">Cal3D.CalSubmesh</a></li>
	
	<li><a href="../symbols/Cal3D.CalSubmesh.Face.html">Cal3D.CalSubmesh.Face</a></li>
	
	<li><a href="../symbols/Cal3D.CalSubmesh.PhysicalProperty.html">Cal3D.CalSubmesh.PhysicalProperty</a></li>
	
	<li><a href="../symbols/Cal3D.CalSubmesh.TangentSpace.html">Cal3D.CalSubmesh.TangentSpace</a></li>
	
	<li><a href="../symbols/Cal3D.CalVector.html">Cal3D.CalVector</a></li>
	
</ul>
<hr />
			<!-- end publish.classesIndex -->
		</div>
		
		<div id="content">
<!-- ============================== class title ============================ -->
			<h1 class="classTitle">
				
				Class Cal3D.CalCoreBone
			</h1>

<!-- ============================== class summary ========================== -->			
			<p class="description">
				
			
				CalCoreBone
				
				
					<br /><i>Defined in: </i> <a href="../symbols/src/cal3djs_corebone.js.html">corebone.js</a>.
				
			</p>

<!-- ============================== constructor summary ==================== -->			
			
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class Cal3D.CalCoreBone.">
				<caption>Class Summary</caption>
				<thead>
					<tr>
						<th scope="col">Constructor Attributes</th>
						<th scope="col">Constructor Name and Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="attributes">&nbsp;</td>
						<td class="nameDescription" >
							<div class="fixedFont">
								<b><a href="../symbols/Cal3D.CalCoreBone.html">Cal3D.CalCoreBone</a></b>(name)
							</div>
							<div class="description"></div>
						</td>
					</tr>
				</tbody>
			</table>
			

<!-- ============================== properties summary ===================== -->
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class Cal3D.CalCoreBone.">
					<caption>Method Summary</caption>
					<thead>
						<tr>
							<th scope="col">Method Attributes</th>
							<th scope="col">Method Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#addChildId">addChildId</a></b>(childId)
								</div>
								<div class="description">Add a child ID.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#calculateBoundingBox">calculateBoundingBox</a></b>(coreModel)
								</div>
								<div class="description">Calculate the bounding box.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#calculateState">calculateState</a></b>()
								</div>
								<div class="description">Calculate the current state.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#getBoundingBox">getBoundingBox</a></b>()
								</div>
								<div class="description">Get the current bounding box.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#getCoreSkeleton">getCoreSkeleton</a></b>()
								</div>
								<div class="description">Get the core skeleton the bone is attached to.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#getListChildId">getListChildId</a></b>()
								</div>
								<div class="description">Get the child ID list.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#getName">getName</a></b>()
								</div>
								<div class="description">Get name of the core bone.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#getParentId">getParentId</a></b>()
								</div>
								<div class="description">Get the parent ID.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#getRotation">getRotation</a></b>()
								</div>
								<div class="description">Ger the rotation.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#getRotationAbsolute">getRotationAbsolute</a></b>()
								</div>
								<div class="description">Get the absolute rotation.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#getRotationBoneSpace">getRotationBoneSpace</a></b>()
								</div>
								<div class="description">Get the bone space rotation.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#getTranslation">getTranslation</a></b>()
								</div>
								<div class="description">Get the translation.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#getTranslationAbsolute">getTranslationAbsolute</a></b>()
								</div>
								<div class="description">Get the absolute translation.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#getTranslationBoneSpace">getTranslationBoneSpace</a></b>()
								</div>
								<div class="description">Get the bone space translation.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#getUserData">getUserData</a></b>()
								</div>
								<div class="description">Get the user data.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#scale">scale</a></b>(factor)
								</div>
								<div class="description">Scale the core bone.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#setCoreSkeleton">setCoreSkeleton</a></b>(coreSkeleton)
								</div>
								<div class="description">Set the core skeleton the bone is attached to.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#setParentId">setParentId</a></b>(parentId)
								</div>
								<div class="description">Set the parent bone ID.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#setRotation">setRotation</a></b>(rotation)
								</div>
								<div class="description">Set the rotation.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#setRotationBoneSpace">setRotationBoneSpace</a></b>(rotation)
								</div>
								<div class="description">Set the bone space rotation.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#setTranslation">setTranslation</a></b>(translation)
								</div>
								<div class="description">Set the translation.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#setTranslationBoneSpace">setTranslationBoneSpace</a></b>(translation)
								</div>
								<div class="description">Set the bone space translation.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalCoreBone.html#setUserData">setUserData</a></b>(userData)
								</div>
								<div class="description">Set user data that should be stored inthis core bone.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			
<!-- ============================== events summary ======================== -->
			

<!-- ============================== constructor details ==================== -->		
			
			<div class="details"><a name="constructor"> </a>
				<div class="sectionTitle">
					Class Detail
				</div>
				
				<div class="fixedFont">
						<b>Cal3D.CalCoreBone</b>(name)
				</div>
				
				<div class="description">
					
					
				</div>
				
				
				
				
					
						<dl class="detailList">
						<dt class="heading">Parameters:</dt>
						
							<dt>
								 <b>name</b>
								
							</dt>
								<dd></dd>
						
						</dl>
					
					
					
					
					
					
					

			</div>
			

<!-- ============================== field details ========================== -->		
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					Method Detail
				</div>
				
					<a name="addChildId"> </a>
					<div class="fixedFont">
					
					<span class="light">{boolean}</span>
					<b>addChildId</b>(childId)
					
					</div>
					<div class="description">
						Add a child ID.<br />
	This function adds a core bone ID to the child ID list of the core bone instance.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{number}</span> <b>childId</b>
									
								</dt>
								<dd>The ID of the core bone ID that shoud be added to the child ID list.s</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{boolean}</span> false if any error happeded.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calculateBoundingBox"> </a>
					<div class="fixedFont">
					
					
					<b>calculateBoundingBox</b>(coreModel)
					
					</div>
					<div class="description">
						Calculate the bounding box.<br />
	This function Calculates the bounding box of the core bone instance.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{<a href="../symbols/Cal3D.CalCoreModel.html">Cal3D.CalCoreModel</a>}</span> <b>coreModel</b>
									
								</dt>
								<dd>The core model needed to retrieve vertices.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="calculateState"> </a>
					<div class="fixedFont">
					
					
					<b>calculateState</b>()
					
					</div>
					<div class="description">
						Calculate the current state.<br />
	This function calculates the current state (absolute translation and rotation) of the core bone instance and all its children.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name="getBoundingBox"> </a>
					<div class="fixedFont">
					
					<span class="light">{<a href="../symbols/Cal3D.CalBoundingBox.html">Cal3D.CalBoundingBox</a>}</span>
					<b>getBoundingBox</b>()
					
					</div>
					<div class="description">
						Get the current bounding box.<br />
	This function returns the current bounding box of the core bone instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/Cal3D.CalBoundingBox.html">Cal3D.CalBoundingBox</a>}</span> The current bounding box of the core bone.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getCoreSkeleton"> </a>
					<div class="fixedFont">
					
					<span class="light">{<a href="../symbols/Cal3D.CalCoreSkeleton.html">Cal3D.CalCoreSkeleton</a>}</span>
					<b>getCoreSkeleton</b>()
					
					</div>
					<div class="description">
						Get the core skeleton the bone is attached to.<br />
	This function returns the core skeleton this bone is attached to.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/Cal3D.CalCoreSkeleton.html">Cal3D.CalCoreSkeleton</a>}</span> The core skeleton.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getListChildId"> </a>
					<div class="fixedFont">
					
					<span class="light">{Array}</span>
					<b>getListChildId</b>()
					
					</div>
					<div class="description">
						Get the child ID list.<br />
	This function returns the list that contains all child IDs of the core bone instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Array}</span> The child ID list.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getName"> </a>
					<div class="fixedFont">
					
					<span class="light">{string}</span>
					<b>getName</b>()
					
					</div>
					<div class="description">
						Get name of the core bone.<br />
	This function returns the name of the core bone instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{string}</span> The name of the core bone.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getParentId"> </a>
					<div class="fixedFont">
					
					<span class="light">{number}</span>
					<b>getParentId</b>()
					
					</div>
					<div class="description">
						Get the parent ID.<br />
	This function returns the parent ID of the core bone instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{number}</span> The parent ID, or -1 if this is a root core bone.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getRotation"> </a>
					<div class="fixedFont">
					
					<span class="light">{<a href="../symbols/Cal3D.CalQuaternion.html">Cal3D.CalQuaternion</a>}</span>
					<b>getRotation</b>()
					
					</div>
					<div class="description">
						Ger the rotation.<br />
	This function returns the relative rotation of the core bone instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/Cal3D.CalQuaternion.html">Cal3D.CalQuaternion</a>}</span> The relative rotation to the parent as quaternion.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getRotationAbsolute"> </a>
					<div class="fixedFont">
					
					<span class="light">{<a href="../symbols/Cal3D.CalQuaternion.html">Cal3D.CalQuaternion</a>}</span>
					<b>getRotationAbsolute</b>()
					
					</div>
					<div class="description">
						Get the absolute rotation.<br />
	This function returns the absolute rotation of the core bone instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/Cal3D.CalQuaternion.html">Cal3D.CalQuaternion</a>}</span> The absolute rotation as quaternion.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getRotationBoneSpace"> </a>
					<div class="fixedFont">
					
					<span class="light">{<a href="../symbols/Cal3D.CalQuaternion.html">Cal3D.CalQuaternion</a>}</span>
					<b>getRotationBoneSpace</b>()
					
					</div>
					<div class="description">
						Get the bone space rotation.<br />
	This function returns the rotation to bring a point into the core bone instance space.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/Cal3D.CalQuaternion.html">Cal3D.CalQuaternion</a>}</span> The bone space rotation as quaternion.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getTranslation"> </a>
					<div class="fixedFont">
					
					<span class="light">{<a href="../symbols/Cal3D.CalVector.html">Cal3D.CalVector</a>}</span>
					<b>getTranslation</b>()
					
					</div>
					<div class="description">
						Get the translation.<br />
	This function returns the relative translation of the core bone instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/Cal3D.CalVector.html">Cal3D.CalVector</a>}</span> The relative translation to the parent as vector.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getTranslationAbsolute"> </a>
					<div class="fixedFont">
					
					<span class="light">{<a href="../symbols/Cal3D.CalVector.html">Cal3D.CalVector</a>}</span>
					<b>getTranslationAbsolute</b>()
					
					</div>
					<div class="description">
						Get the absolute translation.<br />
	This function returns the absolute translation of the core bone instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/Cal3D.CalVector.html">Cal3D.CalVector</a>}</span> The absolute translation as vector.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getTranslationBoneSpace"> </a>
					<div class="fixedFont">
					
					<span class="light">{<a href="../symbols/Cal3D.CalVector.html">Cal3D.CalVector</a>}</span>
					<b>getTranslationBoneSpace</b>()
					
					</div>
					<div class="description">
						Get the bone space translation.<br />
	This function returns the translation to bring a point into the core bone instance space.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/Cal3D.CalVector.html">Cal3D.CalVector</a>}</span> The bone space translation as vector.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getUserData"> </a>
					<div class="fixedFont">
					
					<span class="light">{object}</span>
					<b>getUserData</b>()
					
					</div>
					<div class="description">
						Get the user data.<br />
	This function returns the user data stored in the core bone instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{object}</span> The user data stored in the core bone.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="scale"> </a>
					<div class="fixedFont">
					
					
					<b>scale</b>(factor)
					
					</div>
					<div class="description">
						Scale the core bone.<br />
	This function rescale all the data that are in the core bone instance and in all its children.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{number}</span> <b>factor</b>
									
								</dt>
								<dd>The scale factor.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setCoreSkeleton"> </a>
					<div class="fixedFont">
					
					
					<b>setCoreSkeleton</b>(coreSkeleton)
					
					</div>
					<div class="description">
						Set the core skeleton the bone is attached to.<br />
	This function sets the core skeleton to which the core bone instance is attached to.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{<a href="../symbols/Cal3D.CalCoreSkeleton.html">Cal3D.CalCoreSkeleton</a>}</span> <b>coreSkeleton</b>
									
								</dt>
								<dd>The core skeleton to which the core bone instance should be attached to.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setParentId"> </a>
					<div class="fixedFont">
					
					
					<b>setParentId</b>(parentId)
					
					</div>
					<div class="description">
						Set the parent bone ID.<br />
	This function sets the parent ID of the core bone instance.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{number}</span> <b>parentId</b>
									
								</dt>
								<dd>The ID of the parent to be set.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setRotation"> </a>
					<div class="fixedFont">
					
					
					<b>setRotation</b>(rotation)
					
					</div>
					<div class="description">
						Set the rotation.<br />
	This function sets the relative rotation of the core bone instance.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{<a href="../symbols/Cal3D.CalQuaternion.html">Cal3D.CalQuaternion</a>}</span> <b>rotation</b>
									
								</dt>
								<dd>The relative rotation to the parent as quaternion.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setRotationBoneSpace"> </a>
					<div class="fixedFont">
					
					
					<b>setRotationBoneSpace</b>(rotation)
					
					</div>
					<div class="description">
						Set the bone space rotation.<br />
	This function sets the rotation that brings a point into the core bone instance space.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{<a href="../symbols/Cal3D.CalQuaternion.html">Cal3D.CalQuaternion</a>}</span> <b>rotation</b>
									
								</dt>
								<dd>The bone space rotation to be set as quaternion.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setTranslation"> </a>
					<div class="fixedFont">
					
					
					<b>setTranslation</b>(translation)
					
					</div>
					<div class="description">
						Set the translation.<br />
	This function sets the relative translation of the core bone instance.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{<a href="../symbols/Cal3D.CalVector.html">Cal3D.CalVector</a>}</span> <b>translation</b>
									
								</dt>
								<dd>The relative translation to the parent as vector.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setTranslationBoneSpace"> </a>
					<div class="fixedFont">
					
					
					<b>setTranslationBoneSpace</b>(translation)
					
					</div>
					<div class="description">
						Set the bone space translation.<br />
	This function sets the translation that brings a point into the core bone instance space.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{<a href="../symbols/Cal3D.CalVector.html">Cal3D.CalVector</a>}</span> <b>translation</b>
									
								</dt>
								<dd>The bone space translation to be set as vector.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setUserData"> </a>
					<div class="fixedFont">
					
					
					<b>setUserData</b>(userData)
					
					</div>
					<div class="description">
						Set user data that should be stored inthis core bone.<br />
	This function stores user data in the core bone instance.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{object}</span> <b>userData</b>
									
								</dt>
								<dd>The user data to be stored.</dd>
							
							</dl>
						
						
						
						
						
						
						

					
				
			
			
<!-- ============================== event details ========================= -->		
			
			
			<hr />
		</div>

		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
			
			Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Wed Sep 14 2011 17:55:15 GMT+0800 (CST)
		</div>
	</body>
</html>
